package com.mentaleye.biz;

import com.mentaleye.bean.EmploymentTestimonialsBean;
import com.mentaleye.util.CommonPage;
import com.mentaleye.util.CommonResult;

import java.util.List;
import java.util.Map;

/**
 * Created by hdg on 2017/6/6.
 */
public interface EmploymentTestimonialsBiz {

    /**
     * 添加感言
     * @param bean 感言对象
     * @return 返回结果
     */
    public CommonResult add(EmploymentTestimonialsBean bean);

    /**
     * 删除感言
     * @param ids 感言ID
     * @return 返回结果
     */
    public CommonResult removeList(List<Integer> ids);

    /**
     * 按类查询
     * @param bean 类
     */
    public List<Map<String,Object>> query(EmploymentTestimonialsBean bean);

    /**
     * 分页条件查询
     * @param commonPage 分页条件
     */
    public void queryCommPage(CommonPage commonPage);

    /**
     * 查询已入职学生
     */
    public List<Map<String,Object>> queryByStudent();


}
